﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTO
{
    public class MobileDTO
    {
        private int _MobileID;

        public int MobileID
        {
            get { return _MobileID; }
            set { _MobileID = value; }
        }
        private string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        private string _Brand;

        public string Brand
        {
            get { return _Brand; }
            set { _Brand = value; }
        }
        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        private float _Prize;

        public float Prize
        {
            get { return _Prize; }
            set { _Prize = value; }
        }
        private string _Color;

        public string Color
        {
            get { return _Color; }
            set { _Color = value; }
        }
        private int _WarrantyTime;

        public int WarrantyTime
        {
            get { return _WarrantyTime; }
            set { _WarrantyTime = value; }
        }
        private string _State;

        public string State
        {
            get { return _State; }
            set { _State = value; }
        }
        private int _ImageID;

        public int ImageID
        {
            get { return _ImageID; }
            set { _ImageID = value; }
        }
        private int _Count;

        public int Count
        {
            get { return _Count; }
            set { _Count = value; }
        }

        public MobileDTO(int mobileid, string name, string brand, string Description, float prize, string color, int warranty, string state, int imageid,int count)
        {
            _MobileID = mobileid;
            _Name = name;
            _Brand = brand;
            _Description = Description;
            _Prize = prize;
            _Color = color;
            _WarrantyTime = warranty;
            _State = state;
            _ImageID = imageid;
            _Count = count;
        }

        public MobileDTO()
        {
            // TODO: Complete member initialization
        }
    }
}
